<?php
	class thongbaocontroller
	{
		public $MaThongBao = "";
		public $NgayTao = "";
		public $NoiDung = "";
		public $TieuDe = "";
		public $TrangThai = "";
		
		public function Them()
		{
			$data = new thongbaodata();
			return $data->Them($this->MaThongBao, $this->NgayTao, $this->NoiDung, $this->TieuDe, $this->TrangThai);
		}
		
		public function CapNhat()
		{
			$data = new thongbaodata();
			return $data->CapNhat($this->MaThongBao, $this->NgayTao, $this->NoiDung, $this->TieuDe, $this->TrangThai);
		}
		
		public function Xoa()
		{
			$data = new thongbaodata();
			return $data->Xoa($this->MaThongBao);
		}
		
		public function LayDanhSach()
		{
			$data = new thongbaodata();
			return $data->LayDanhSach($this->MaThongBao);
		}
	}
?>